package com.gylang.sso.service;

import com.gylang.sso.domain.SysUser;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;
import java.util.Set;

/**
 * @author gylang,
 * @data 2019/11/16 9:36,
 * @DESC
 */
public interface SysUserService extends UserDetailsService {


    SysUser findByUserName(String userName);

    Set<String> findPermissions(String username);




}
